package com.ec.fb.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "反馈响应")
public class FeedbackResponseDTO {
    @ApiModelProperty(value = "反馈ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "提交反馈的用户ID", example = "1001")
    private Long userId;

    @ApiModelProperty(value = "提交反馈的用户名", example = "张三")
    private String userName;

    @ApiModelProperty(value = "评分 (1-5)", example = "5")
    private Integer rating;

    @ApiModelProperty(value = "反馈内容", example = "服务很好，环境舒适")
    private String content;

    @ApiModelProperty(value = "管理员回复", example = "感谢您的反馈！")
    private String reply;

    @ApiModelProperty(value = "回复的管理员ID", example = "101")
    private Integer repliedByAdminId;

    @ApiModelProperty(value = "创建时间", example = "2025-07-14 10:00:00")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "反馈状态", example = "replied")
    private String status;
}